Skip to content

Conversation

sBouzols
Copy link
Contributor

refactor(SA,SE,CC): use ExportCsvButton component from commons-ui, remove local duplicated component

…remove local duplicated component

Signed-off-by: sBouzols <[email protected]>
Copy link

@sBouzols sBouzols requested a review from souissimai September 19, 2025 15:14
@sBouzols sBouzols merged commit 24db56d into fix_export_csv_export_button_status_at_node_rn_change Sep 23, 2025
5 checks passed
@sBouzols sBouzols deleted the refactor_remove_ExportButton_use_ExportCsvButton_from_commons-ui branch September 23, 2025 09:32
sBouzols added a commit that referenced this pull request Sep 23, 2025
…3272)

* fix(SA,SE,CC): reset `exportSuccessful` states when context like study, node or rootNetwork change as well as resultType, computation type or tab change.
refactor(SE): move export CSV Button in a separeted component like for other computations
* fix(SA, SE, CC): from review add `appTabIndex` trigger to reset export CSV button status
* fix(SE): Add `sortConfig` trigger to reset export CSV button status, for other computation types results are invalidated when sorting then the button is disabled and trigger a status reset.
* refactor(SA,SE,CC): use `ExportCsvButton` component from commons-ui, remove local duplicated component (#3274)

Signed-off-by: sBouzols <[email protected]>
sBouzols added a commit that referenced this pull request Sep 23, 2025
* fix(SA,SE,CC): reset `export successful` states when button is disabled which happen when results change or computation status change.
Remark: For other computation types (LF, State estim, Voltage init), we need more work in commons-ui on `CsvExport` component, to use `isDownloadLoading` and `isDownloadSuccessful` of the `ExportCsvButton` child component even if its direct export without backend requests
* Fix Export CSV Button success status for SA,SE,CC at context change (#3272)
* fix(SA,SE,CC): reset `exportSuccessful` states when context like study, node or rootNetwork change as well as resultType, computation type or tab change.
refactor(SE): move export CSV Button in a separeted component like for other computations
* fix(SA, SE, CC): from review add `appTabIndex` trigger to reset export CSV button status
* fix(SE): Add `sortConfig` trigger to reset export CSV button status, for other computation types results are invalidated when sorting then the button is disabled and trigger a status reset.
* refactor(SA,SE,CC): use `ExportCsvButton` component from commons-ui, remove local duplicated component (#3274)

Signed-off-by: sBouzols <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants